<include file="__THEME__/header" />
<div class="content"><!-- 内容 begin  --> 
  <include file="__THEME__/shop_menu" />
  <div class="main">
    <div class="mainbox">
      <div class="mainbox_C no_r">
          <div >
          <form method="post" action="serch.php">
          <input type="text" name="key"><input name="" type="button" value="搜本网摊"/>
          </form>
          </div>
          <div class="add_app">
          
          <div class="add_app_box">
            <dt class="goods_img_box">
              <php>if($goods['gimage']){</php><a href="__UPLOAD__/goods/{$goods['gimage']}"><img src="__UPLOAD__/goods/m_{$goods['gimage']}"  alt="点击看大图" title="点击看大图"/></a><php>}else{</php>
              <a href="__THEME__/images/no_image_b.gif"><img src="__THEME__/images/no_image_m.gif"/> </a>
            <php>}</php></dt>
            <dd >
              <php>if($uid==$mid){</php> 
               <h3 class="right"> <a href="{:U('home/Myshop/edit',array('id'=>$goods['id']))}">编辑</a></h3>
                <php>}</php>  <h3>{$goods['title']}</h3>
                
                <p class="cGray2">
	                商品名称：{$goods['gname']}<br/>
                    价格：￥{$goods['gprice']}<br/>
                    数量:{$goods['gnumber']}<br/>
                    商品所在地区：{$goods['location']}<br/>
                    商品所在学校：{$goods['school']}<br/>
                   
                    创建时间：{$goods['ctime']|friendlyDate}<br/>
                    最后修改：{$goods['utime']|friendlyDate}<br/>
                    该商品已被浏览：{$goods['gscan']}次
                </p>
            </dd>
           </div>
           <div class="xq-menu">
           <ul><li class="on">
           详细信息</li></ul></div>
         <div style="margin-right:100px;">{$goods['gdetails']}</div>
         <div> <form action="{:U('shop/index/goods',array('uid'=>$uid,'gid'=>$goods['id']))}" method="post" name="leavword">
         <textarea name="message" cols="50" rows="1"></textarea>
         
         <input type="submit" name="savelw" id="savelw" value="发表留言" class="N_but"/>
         </form>
         </div>
         <div> 
         <ul>
          <volist name="lwlist" id="vo">
         <li>
         <space uid="vo.from_uid">{uavatar=s}</space>
         {$vo['uname']}:  {$vo['message']}  {$vo['ctime']|friendlyDate}
         
          </li> 
          </volist>
         </ul>
        <p>{$page}</p>
         </div>
        </div>
        </div>
    </div>
  </div>
  <div class="c"></div>
</div>
<include file="__THEME__/footer" /> 